const express = require('express')
const cookieParser = require('cookie-parser')
const util = require('util')

var app = express()
app.use(cookieParser())

app.get('/cookie',(req,res) => {
    console.log("Cookies: " + util.inspect(req.cookies))
    res.send('cookie')
})

app.listen(8081,() => {
    console.log('http://localhost:8081/')
})

